import javax.swing.JRadioButton;


@SuppressWarnings("serial")
public class MyJRadioButton extends JRadioButton implements HasMsgCommand
{
	private MsgCommands enumVal;
	private String string;

	public MyJRadioButton(String name)
	{
		super(name);
	}
	public MsgCommands getMsgCommand()
	{
		return enumVal;
	}

	public void setMsgCommand(MsgCommands cmd)
	{
		enumVal=cmd;
	}
	@Override
	public String getString() {
		return string;
	}
	@Override
	public void setString(String st) {
		string=st;
	}

}
